Invariants, Bisimulations and the Correctness of Coalgebraic Reenements
نویسنده
چکیده
Coalgebraic speciications are used to formally describe the behaviour of classes in object-oriented languages. In this paper, a general notion of reenement between two such coalgebraic speciications is deened, capturing the idea that one \concrete" class speciication realises the behaviour of the other, \abstract" class speciication. Two (complete) proof-techniques are given to establish such reenements: one involving an invariant (a predicate that is closed under transitions) on the concrete class, and one involving a bisimula-tion (a relation that is closed under transitions) between the concrete and the abstract class. The latter can only be used if the abstract class is what we call totally speciied. Parts of the underlying theory of invariants and bisimulations in a coalgebraic setting are included, involving least and greatest invariants and connections between invariants and bisimulations. Also, the proof-principles are illustrated in examples (which are fully formalised and veriied in pvs).
منابع مشابه
Invariants, Bisimulations and the Correctness of Coalgebraic Refinements
Coalgebraic speciications are used to formally describe the behaviour of classes in object-oriented languages. In this paper, a general notion of reenement between two such coalgebraic speciications is deened, capturing the idea that one \concrete" class speciication realises the behaviour of the other, \abstract" class spec-iication. Two (complete) proof-techniques are given to establish such ...
متن کاملCoalgebras for Binary Methods: Properties of Bisimulations and Invariants
COALGEBRAS FOR BINARY METHODS: PROPERTIES OF BISIMULATIONS AND INVARIANTS HENDRIK TEWS 1 Abstract. Coalgebras for endofunctors C C can be used to model classes of object-oriented languages. However, binary methods do not fit directly into this approach. This paper proposes an extension of the coalgebraic framework, namely the use of extended polynomial functors Cop C C . This extension allows t...
متن کاملBehaviour-Refinement of Coalgebraic Specifications with Coinductive Correctness Proofs
A notion of reenement is deened in the context of coalgebraic spec-iication of classes in object-oriented languages. It tells us when objects in a \concrete" class behave exactly like (or: simulate) objects in an \abstract" class. The deenition of reenement involves certain selection functions between procedure-inputs and attribute-outputs, which gives this notion considerable exibility. The co...
متن کاملCalculating Invariants as Coreflexive Bisimulations
Invariants, bisimulations and assertions are the main ingredients of coalgebra theory applied to computer systems engineering. In this paper we reduce the first to a particular case of the second and show how both together pave the way to a theory of coalgebras which regards invariant predicates as types. An outcome of such a theory is a calculus of invariants’ proof obligation discharge, a fra...
متن کاملCoalgebras and monads in the semantics of Java
This paper describes the basic structures in the denotational and axiomatic semantics of sequential Java, both from a monadic and a coalgebraic perspective. This semantics is an abstraction of the one used for the verification of (sequential) Java programs using proof tools in the LOOP project at the University of Nijmegen. It is shown how the monadic perspective gives rise to the relevant comp...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997